// SekwencjonowanieDNA.cpp : Defines the entry point for the console application.
//

#include "Utils.h"
#include "bothPosNeg.h"

int _tmain(int argc, _TCHAR* argv[])
{
	if(argc != 2) {
		printf("Illegal number of arguments.\n");
		return 1;
	}

	cout << "Processing input file." << endl;
	CaseData *inputData = processInput(argv[1]);

	int methodChoice;
	do {
		if(inputData == NULL)
			break;
		system("cls");
		cout << "Choose method:" << endl << "1. For both neg/pos errors." << endl;
		if(inputData->errorType == ERR_TYPE_NEG) {
			cout << "2. Strictly for negative errors." << endl;
		} else {		
			cout << "2. Strictly for positive errors." << endl;
		}
		cin >> methodChoice;
	} while(methodChoice != 1 && methodChoice != 2);

	BothPosNeg* thirdMethod = new BothPosNeg(inputData);
	//cout << "Error type: " << inputData->errorType << ", spectrumSize: " << inputData->spectrumSize << ", olignucLength: " 
	//	<< inputData->olignucLength << ", errorNum: " << inputData->errorNum << ", chaingLength: " << inputData->chainLength << endl;

	system("pause");
	return 0;
}

